<template>
  <swiper class="detailSwiper">
    <swiper-item v-for="(item,index) in topimgs" :key="index">
      <img :src="item" alt="">
    </swiper-item>
  </swiper>
</template>

<script>

import {Swiper,SwiperItem} from 'components/common/swiper/index.js'

export default {
  name: 'detailSwiper',
  components:{
    Swiper,
    SwiperItem
  },
  props:{
      topimgs:{
        type:Array,
        default(){
          return []
      }
    }
  }
}
</script>

<style scoped>
  .detailSwiper{
    height: 300px;
    overflow: hidden;
  }
</style>